import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:remixicon/remixicon.dart';

class HomeState {
  late Rx<TextEditingController> textEditingController;
  RxList<List<Color>> topColor = [
    [
      const Color(0xff00E5BA).withOpacity(0.6),
      const Color(0xff09BEDF)
    ],
    [
      const Color(0xff33CFFB).withOpacity(0.6),
      const Color(0xff368FFE)
    ],
    [
      const Color(0xff57EDD8).withOpacity(0.6),
      const Color(0xff26D28D)
    ],
    [
      const Color(0xffFFB51E).withOpacity(0.6),
      const Color(0xffFF911A)
    ],
    [
      const Color(0xff53F2ED).withOpacity(0.6),
      const Color(0xff39AAF8)
    ]
  ].obs;

  RxList<String> topText = ["我的房屋", "手机门禁", "认识邻里", "生活缴费", "车主服务"].obs;
  RxList<String> bottomText = ["房屋维修", "家电维修", "管道疏通", "开锁换锁", "订水送水"].obs;

  RxList<IconData> topIcon = [
    Remix.building_2_fill,
    Remix.key_fill,
    Remix.team_fill,
    Remix.secure_payment_fill,
    Remix.car_fill,
  ].obs;

  RxList<IconData> bottomIcon = [
    Remix.tools_fill,
    Remix.service_fill,
    Remix.remixicon_fill,
    Remix.lock_2_fill,
    Remix.water_flash_fill,
  ].obs;

  HomeState() {
    textEditingController = TextEditingController().obs;
  }
}
